<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<div class="ftitle">人员信息</div>
<sf:form method="post" modelAttribute="person" id="person_form">
	<table style="margin: 0 auto;">
		<tbody>
			<tr>
				<td>姓名:</td>
				<td><sf:input path="name" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>卡号:</td>
				<td><sf:input path="card.number"
						cssClass="easyui-validatebox" required="true" /></td>
			</tr>
			<tr>
				<td>手机号码:</td>
				<td><sf:input path="phone" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>所属机构:</td>
				<td><sf:input path="organization.id"
						cssClass="easyui-combotree"
						data-options="url:'organization/list',method:'get',valueField:'id',textField:'name',required:true" /></td>
			</tr>
		</tbody>
	</table>
</sf:form>
<hr>
<a href="javascript:savePerson();" class="easyui-linkbutton"
	data-options="iconCls:'icon-save'" style="float:left;">保存</a>
	<a href="javascript:$('#person_win').window('close');" class="easyui-linkbutton"
	data-options="iconCls:'icon-save'" style="float:right;">取消</a>
